package org.thomias.autosave;

import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;

public class Main {
	public static void main(String[] args) {
		ScheduledExecutorService executor = Executors
				.newSingleThreadScheduledExecutor();
		SaveTask task = new SaveTask();
		executor.scheduleWithFixedDelay(task, 0, 60, TimeUnit.SECONDS);
	}
}
